<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=0">
    <title>My Photo Album</title>
    <style>
        @font-face {
            font-family: "开开晚安体";
            src: url('../font/KaiKai-WanAnTi-2.ttf') format('truetype');
            font-weight: normal;
            font-style: normal;
        }

        * {
            padding: 0;
            margin: 0;
        }

        body {
            background-color: #f5f5f5;
            font-family: "开开晚安体";
            overflow: hidden;
        }

        .container {
            height: 100vw;
            width: 100vh;
            background-color: #fff;
            display:flex;
            flex-direction: column;
            align-items: center;
            /*margin:  auto 0;*/
            padding: 20px;
            /*transform-style: preserve-3d;*/
            /*transform: rotateY(0deg) !* 沿Y轴旋转0度 *!*/
            /*rotateX(0deg) !* 沿X轴旋转0度 *!*/
            /*rotateZ(-90deg) !* 沿Z轴旋转0度 *!*/
            /*perspective(500px) !* 透视，这里设置视角为500像素 *!*/
            /*!*skew(360deg)*!*/
            /*translateZ(10px); !* Z轴的距离，也就是元素距离观察者的距离 *!*/
            /*transform-origin: 0% 100%;*/
            transform: translateY(100%) translateX(50%) rotateZ(90deg) ;
            box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
            overflow: scroll;
        }

        h1 {
            text-align: center;
        }

        .photo {
            display: inline-block;
            margin: 10px;
            width: 500px;
            border: 5px solid #fff;
            box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
            transform: rotateZ(-90deg);
        }

        .photo:hover {
            border: 5px solid #ccc;
            box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.4);
            transform: scale(2) rotateZ(-90deg);
            transition: all 2s;
        }

        .photo img {
            width: 100%;
            height: auto;
        }

        .caption {
            text-align: center;
            font-size: 20px;
            font-weight: bold;
            margin-top: 10px;
        }
    </style>
</head>
<body>


<div class="container">
    <div class="photo">
        <img src="img/photo1.jpeg" alt="Photo 5">
        <div class="caption">Photo 5</div>
    </div>

    <div class="photo">
        <img src="img/photo1.jpeg" alt="Photo 4">
        <div class="caption">Photo 4</div>
    </div>

    <div class="photo">
        <img src="img/photo1.jpeg" alt="Photo 3">
        <div class="caption">Photo 3</div>
    </div>

    <div class="photo">
        <img src="img/photo1.jpeg" alt="Photo 2">
        <div class="caption">Photo 2</div>
    </div>

    <div class="photo">
        <img src="img/photo1.jpeg" alt="Photo 1">
        <div class="caption">Photo 1</div>
    </div>

</div>

</body>
</html>
